﻿using System;
using System.Diagnostics;

namespace AppStandard
{
    public class MyCoolObservableExceptionHandler : IObserver<Exception>
    {
        public void OnNext(Exception ex)
        {
            Debug.WriteLine($"RxUI Error: {ex}");
        }

        public void OnError(Exception ex) => Debug.WriteLine($"RxUI Fatal: {ex}");

        public void OnCompleted() { }
    }
}
